package com.jddup.test.pojo.mysql;

import com.baomidou.mybatisplus.annotation.*;
import com.jddup.common.annotations.ColumnDes;

import java.util.Date;

@TableName("t_contract_fee")
public class ContractFee {
    @TableId(value = "id", type = IdType.UUID)
    @ColumnDes(maxLength = 50)
    private String id;
    @TableField("symbol")
    private String symbol;
    @TableField("open_maker_fee")
    private String openMakerFee;
    @TableField("open_taker_fee")
    private String openTakerFee;
    @TableField("close_maker_fee")
    private String closeMakerFee;
    @TableField("close_taker_fee")
    private String closeTakerFee;
    @TableField("delivery_fee")
    private String deliveryFee;
    @TableField(value = "create_time", updateStrategy = FieldStrategy.NEVER)
    @ColumnDes(isNullable = false,defaultValue = " DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
    private Date createTime;
    @TableField(value = "update_time", update = "now()")
    @ColumnDes(isNullable = true,defaultValue = " DEFAULT NULL")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getOpenMakerFee() {
        return openMakerFee;
    }

    public void setOpenMakerFee(String openMakerFee) {
        this.openMakerFee = openMakerFee;
    }

    public String getOpenTakerFee() {
        return openTakerFee;
    }

    public void setOpenTakerFee(String openTakerFee) {
        this.openTakerFee = openTakerFee;
    }

    public String getCloseMakerFee() {
        return closeMakerFee;
    }

    public void setCloseMakerFee(String closeMakerFee) {
        this.closeMakerFee = closeMakerFee;
    }

    public String getCloseTakerFee() {
        return closeTakerFee;
    }

    public void setCloseTakerFee(String closeTakerFee) {
        this.closeTakerFee = closeTakerFee;
    }

    public String getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(String deliveryFee) {
        this.deliveryFee = deliveryFee;
    }
}
